import java.util.ArrayList;

public class ProcSym extends Symbol
{
    ArrayList<String> paramTypes;
    ArrayList<Boolean> isPointer;
    public ProcSym(String name, String type)
    {
        super(name, "PROCEDURE", type, 0);
    }

    public String entryString()
    {
        String str = "";
        if(lexLevel > 0)
            str += "-->";
        str+="N: " + name +" C: " + classification + " T: " + type;
        return str;
    }

    public void setParam(ArrayList<String> p, ArrayList<Boolean> isPtr)
    {
        paramTypes = new ArrayList<String>();
        isPointer = new ArrayList<Boolean>();
        for(String s : p)
            paramTypes.add(s);
        for(Boolean b : isPtr)
            isPointer.add(b);

    }
}
